package com.homework.adapter;

import java.util.Date;

/**
 * @Author Zan
 * @Create 2024/6/24 8:05
 * @ClassName: Client
 * @Description : 结构型模式 —— 适配器模式的使用
 */
public class Client {
    public static void main(String[] args) {
        User user = new User(1L, "12345677", "Zan421", "111", "111", "张三", "头像", "111", "管理员", new Date(), new Date(), 0);
        TranslateVO translateVO = new TranslateVO();
        UserVO userVO = translateVO.getUserVO(user);
        System.out.println(user);
        System.out.println(userVO);
    }
}
